home *** CD-ROM | disk | FTP | other *** search
- /*========================================================================*\
- | File: gui.h Date: 23 Jan 1999 |
- *------------------------------------------------------------------------*
- | Creates windows and requesters, all this stuff that requires |
- | filling in huge structs and arrays. Doesn't do any input processing, |
- | except for some requester-like functions. |
- | |
- \*========================================================================*/
-
-
- #include <intuition/intuition.h>
-
- /* Menu item IDs. */
- enum {
- IDM_NEW,
- IDM_BORDER,
- IDM_AUTODRAW,
- IDM_DRAW,
- IDM_ABORT,
- IDM_QUIT,
- IDM_MAX,
- IDM_CENTER,
- IDM_ZOOM
- };
-
- /* Gadget IDs. */
- enum {
- IDC_NONE = 100,
- IDC_HEIGHT,
- IDC_ROTATION,
- IDC_STOP_GO
- };
-
- /* Table of pens for the colors on our map. */
- extern LONG laPens[ 32 ];
-
- extern struct Window *pwinMain;
- extern struct Gadget gadRise;
- extern struct Gadget gadSpin;
- extern struct PropInfo piRise;
- extern struct PropInfo piSpin;
-
- extern BOOL fGTV39;
- extern BOOL fIntV39;
- extern BOOL fGfxV39;
-
- BOOL StartMeUp();
- VOID GetMeOutOfHere();
- BOOL BuildGui();
- VOID DestroyGui();
- VOID DisableMainWindow( BOOL fReally );
- VOID SnoozeMainWindow( BOOL fReally );
- BOOL StringRequest( STRPTR strHail, STRPTR strBuf, WORD wSize );
-
-